package com.swt.draw.enums;

public enum LoginEnum {
    LOGIN_SUCCESS(1002, "login success"),LOGIN_FAIL(1001, "login fail");
    private Integer code;
    private String desc;

    LoginEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
